package com.googlecode.javatools.classparser.types.impl;

import com.googlecode.javatools.classparser.types.FileHeaderInfo;

public class FileHeaderInfoImpl implements FileHeaderInfo
{
	private final Integer magic;
	private final Integer majorVersion;
	private final Integer minorVersion;
	private final Integer constantPoolSize;

	public FileHeaderInfoImpl(final Integer magic, final Integer majorVersion, final Integer minorVersion,
			final Integer constantPoolSize)
	{
		this.magic = magic;
		this.majorVersion = majorVersion;
		this.minorVersion = minorVersion;
		this.constantPoolSize = constantPoolSize;
	}

	public Integer constantPoolSize()
	{
		return constantPoolSize;
	}

	public Integer magic()
	{
		return magic;
	}

	public Integer majorVersion()
	{
		return majorVersion;
	}

	public Integer minorVersion()
	{
		return minorVersion;
	}

}
